package com.fzh.pojo.entity;

public class ProductType {
	private Integer id;
	/**
	 * 类型名称
	 */
	private String name;
	/**
	 * 对应的父级id
	 */
	private Integer p_id;
	/**
	 * 类型的排序先后的顺序
	 */
	private Integer sort;
	
	private String ext1;
	
	
	
	
	public String getExt1() {
		return ext1;
	}
	public void setExt1(String ext1) {
		this.ext1 = ext1;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getP_id() {
		return p_id;
	}
	public void setP_id(Integer p_id) {
		this.p_id = p_id;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public ProductType(Integer id, String name, Integer p_id, Integer sort) {
		super();
		this.id = id;
		this.name = name;
		this.p_id = p_id;
		this.sort = sort;
	}
	public ProductType() {
		super();
	}
	@Override
	public String toString() {
		return "productType [id=" + id + ", name=" + name + ", p_id=" + p_id + ", sort=" + sort + "]";
	}
	
	
}	
